package com.rongmai.db.dto;

import com.rongmai.db.model.Label;
import lombok.Data;

import java.util.List;

@Data
public class LabelTree {

    private Label label;

    private List<Label> children;

    public LabelTree() {
    }

    public LabelTree(Label label, List<Label> children) {
        this.label = label;
        this.children = children;
    }
}
